package engine;

/**
 * @author ak2765
 * @author Vika
 *
 */
public class WeightedWord {
	
	private final String word;
	
	private final double weight;

	public WeightedWord(String word, double weight) {
		super();
		this.word = word;
		this.weight = weight;
	}

	public String getWord() {
		return word;
	}

	public double getWeight() {
		return weight;
	}
	
	public String toString() {
		StringBuffer buff = new StringBuffer();
		buff.append("WeightedWord:[word=").append(this.word);
		buff.append(", weight=").append(this.weight).append("]");
		return buff.toString();
	}

}
